#ifndef CURRENTTIMEITEM_H
#define CURRENTTIMEITEM_H

#include <QGraphicsObject>

class CurrentTimeItem : public QGraphicsObject
{
    Q_OBJECT
public:
    CurrentTimeItem();
    virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    virtual QRectF boundingRect() const;

    QTimer      *timer;
    QString     strTime;

public slots:
    void updateTime();
};

#endif // CURRENTTIMEITEM_H
